package com.yehuishou.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.yehuishou.service.DescTestService;


	/**
	 * 
	 * @author XS
	 * @date 2018年7月30日
	 * @descripe 关于我们
	 * @className
	 */
@Controller
public class AboutUsController {
       
	@Autowired
	private DescTestService descTestService;
	
	@RequestMapping("/aboutus")
	public String aboutus(HttpServletRequest req) {
		
		req.setAttribute("des",descTestService.getAll() );
		return "aboutus";
	}
}
